.order-page {
  background-color: #f5f5f5;
  min-height: 100vh;
}

.order-list {
  padding: 12px;
}

.loading {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #999;
}

.empty-state p {
  font-size: 16px;
  margin: 0;
}

/* 订单卡片样式 */
.order-card {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: none;
  background: #fff;
}

.order-card .adm-card-body {
  padding: 0;
}

/* 订单头部样式 */
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.order-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-id {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.order-time {
  font-size: 12px;
  color: #999;
}

.order-status {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
}

/* 商品信息区域 */
.product-section {
  display: flex;
  padding: 16px;
  gap: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.product-image {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8f8f8;
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.product-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  display: flex;
  justify-content: flex-end;
  margin: 4px 0;
}

.spec-item {
  font-size: 12px;
  color: #666;
  background-color: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.price {
  font-size: 14px;
  color: #666;
}

.quantity {
  font-size: 14px;
  color: #666;
}

/* 订单详情 */
.order-info {
  padding: 0 16px;
}

.info-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.4;
}

.info-label {
  color: #666;
  min-width: 80px;
  flex-shrink: 0;
}

.info-value {
  color: #333;
  flex: 1;
  word-break: break-all;
}

.pickup-code {
  color: #1890ff;
  font-weight: 500;
  background-color: #f0f8ff;
  padding: 2px 6px;
  border-radius: 4px;
}

/* 订单底部 */
.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
}

.order-total {
  display: flex;
  align-items: center;
  gap: 8px;
}

.total-label {
  font-size: 14px;
  color: #666;
}

.total-price {
  font-size: 18px;
  font-weight: 600;
  color: #ff4757;
}

/* 订单操作按钮样式 */
.order-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.order-actions .adm-button {
  min-width: 80px;
  height: 32px;
  font-size: 13px;
  border-radius: 16px;
  font-weight: 500;
  background-color: transparent;
  border: 1px solid #ff6b35;
  color: #ff6b35;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-actions .adm-button:hover {
  background-color: #ff6b35;
  color: white;
}

.order-actions .adm-button-small {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 自定义Tabs样式 */
.adm-tabs-header {
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 0 12px;
}

.adm-tabs-tab {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
}

.adm-tabs-tab-active {
  color: #1890ff;
  font-weight: 600;
}

.adm-tabs-content {
  background-color: #f5f5f5;
}

/* 响应式优化 */
@media (max-width: 480px) {
  .order-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .order-total {
    justify-content: space-between;
  }
  
  .order-actions {
    justify-content: flex-end;
  }
  
  .product-section {
    padding: 12px;
  }
  
  .product-image {
    width: 60px;
    height: 60px;
  }
  
  .product-name {
    font-size: 15px;
  }
  
  .price {
    font-size: 16px;
  }
} 